package net.kleinhenz.questor.model;

import java.util.ArrayList;
import java.util.List;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;

public class Foe extends Fighter implements MediaContainer
{
	@Attribute(required=true, name="foeid")
	private int id = -1;

	@Attribute(required=true)
	private String name = null;

	@Element(required=true)
	private String description = null;

	@ElementList(required=false)
	private List<Media> multimedia = new ArrayList<Media>();
			
	public Foe()
	{
		this(-1, null, null);
	}
	
	public Foe(int id, String name, String description)
	{
		super();
		this.setId(id);
		this.setName(name);
		this.setDescription(description);
	}
	
	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public int getId()
	{
		return this.id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public List<Media> getMultimedia()
	{
		return multimedia;
	}

	public void setMultimedia(List<Media> multimedia)
	{
		this.multimedia = multimedia;
	}
}
